home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1998 #4
/
Amiga Plus CD - 1998 - No. 4.iso
/
pd
/
musik
/
sample-x
/
doc
/
un2xff.doc
< prev
Wrap
Text File
|
1998-01-13
|
2KB
|
85 lines
<un2xff> converts a sample from raw format to the native Exiff format used
by Sample-X. It takes the following arguments.
-i
Specifies one or more files containing raw samples. If creating a stereo
(type 1) sample, then all samples which appear on the right side should
be listed after all the samples for the left side.
-l
Gives the length of each sample (in bytes) specified with -i argument.
A sample length must be even, otherwise un2xff complains. The number of
lengths given should equal the number of raw samples. The exception here
is if a stereo (type 1) sample is created. Since the length of the left
side raw sample is assumed to be the same as the right side raw sample,
it's only necessary to specify half the number of lengths.
-o
Name of the output file
-t
The output sample can be of type 0 - mono, 1 - stereo
-r
The resolution of raw samples 0 - 8 bits, 1 - 16 bits
[-s]
Specifies the playback source of a sample 0 - RAM, 1 - Disk sample
[-w]
A boolean flag indicating that sample is of wave type (1) or is not (0).
Cannot have disk samples of wave type.
[-f]
Specifies a sample playback frequency otherwise the default value (14000)
is used
[-ls]
Causes the sample to loop. The actual integer value gives the start point
of looping, which is an offset value (in bytes) from the start of the
sample. Use -ls 0 to loop from beginning of sample. Cannot loop disk
samples.
[-ll]
Gives the length (in bytes) of the looping section.
[-U]
Gives the usage for un2xff
Examples
--------
un2xff -i bass.raw -o bass.xff -l 250 -t 0 (mono sample)
un2xff -i snare.raw -o snare.xff -l 25000 -t 0 (CD quality 16bit)
-f 44100 -r 1 (snare sample)
un2xff -i piano_left.raw piano_right.raw -l 12000 (stereo sample)
-o piano.xff -t 1
un2xff -i bleep1.raw bleep2.raw -l 3456 7800 (mono wave)
-o bleep.xff -t 0 -w 1
un2xff -i wave1_left wave2_left wave1_right wave2_right (stereo wave)
-l 2600 3450 -o wave.xff -w 1 -t 1
un2xff -i u2_concert_left.raw u2_concert_right.raw
-o u2.xff -l 1000000 -t 1 -s 1 (stereo disk sample)
un2xff -i bb.raw -l 54342 -o bb.xff -t 1 -ll 0 (looped stereo)